import { FC } from 'react'
import Select from './select'
import OptGroup, { OptGroupProps } from './OptGroup'
import Option, { OptionProps } from './option'
import './index.less'

export type SelectComponent = FC & {
  Option: FC<OptionProps>,
  OptGroup: FC<OptGroupProps>
}
const TransSelect: SelectComponent = Select as SelectComponent
TransSelect.Option = Option
TransSelect.OptGroup = OptGroup

export default TransSelect
